Simply run setenforce 1 as root. One way to do this is to run sudo setenforce 1. You can verify that it succeeded by running sestatus and examining the output.
Use Enforcing or 1 to put SELinux in enforcing mode. Use Permissive or 0 to put SELinux in permissive mode. If SELinux is disabled and you want to enable it, or ...
To turn off SELinux in Ubuntu system temporarily, use the following command. $ setenforce 0. Copy. Turn on SELInux again with the following ... What is SELINUX · How to Install SELinux on... · How to Disable SELinux on...